package com.lechuang.user.service;

import com.lechuang.user.entity.UserConsignee;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author apple
* @description 针对表【user_consignee(用户收货地址)】的数据库操作Service
* @createDate 2024-06-24 10:32:59
*/
public interface UserConsigneeService extends IService<UserConsignee> {

    List<UserConsignee> queryByUserId(Long userId);

    List<UserConsignee> queryByUserIdAndDefaultFlag(Long userId, Integer defaultFlag);

    void updateDefaultFlagByIds(List<Long> idList, Integer defalutFlag);
}
